class Alt<T extends Comparable<T>> {
    public T findMax(T[] array) {
    T max = array[0];
        for (int i = 1; i < array.length ; i++) {
            if (array[i].compareTo(max) > max) {
                max = array[i];
            }

        }
        return max;
    }

}
public class Main {
    public static void main(String[] args) {
        System.out.println("Hello world!");
    }
}